Direct Bookmark Launch by File Extension
You can modify this direct launch behavior using the webcd.ini file. If the webcd.ini file exists, WebCD Packager ONLY directly launches the extensions you specify.
To specify the extensions for Direct Launch Bookmarks:
1 | Build your WebCD Viewer image. (See Building the WebCD Viewer Image ) |
2 | Put a file called webcd.ini in the image's Program directory (for example c:\Program Files\MarketScape\WebCD Packager\Projects\My Project\Image\Program). If you specified a different location for the WebCD Viewer image on the Build Wizard: Destination Dialog, the image's Program folder will be located there. |
3 | Put a [DirectLaunch] section in the ini file. Under the [DirectLaunch] section, insert an Extn entry for each file extension that you want to create Direct Launch Bookmarks for. See the example webcd.ini file below:
[DirectLaunch]
In this example, the WebCD Viewer program will directly launch any Bookmarks for files with doc and txt extensions. |
Remember:
If you create a webcd.ini, ONLY extensions included in the webcd.ini will be directly launched. For example, if you create a webcd.ini so that you can directly launch PPT files and you still wish to direct launch PDFs, then you must include the PDF extension in the webcd.ini as well.
To exclude all files from directly launching (that is, do not direct launch anything), create a webcd.ini that contains only the [DirectLaunch] section.
Considerations for Directly Launching Applications
Some considerations in deciding whether you want to directly launch applications are covered below.
PDF and MOV files
Launching PDF and MOV files through the browser can take longer than directly launching the files in their native application. For example the Netscape browser copies the file to its cache before running it which creates a delay even though the file is available locally on the CD.
EXE files
If you directly launch an EXE, WebCD Packager passes the EXE file to the operating system for execution. If an EXE is passed to the browser, the browser gives the user the option of either running or downloading the file. You may want the browser dialog to come up, for example, if you are including executables that you want your users to download onto their hard drive.